achievement_show_challenge_notifications


语法:

achievement_show_challenge_notifications(receive, local, remote)

参数 描述
receive Show challenges received pop-up (true) or not (false).
local Show completed local challenges pop-up (true) or not (false).
remote Show completed remote challenges pop-up (true) or not (false).


返回:

N/A(无返回值)


描述

With this function you can show, or suppress, the various different "toast" pop-up notifications relating to challenges. When the arguments are set to true these messages will appear, informing the player of any local or remote challenges received as well as those challenges that have been completed, while setting them to false will suppress these notifications.


例如:

achievement_show_challenge_notifications(true, false, false);

The above code will set challenge toast notifications to be shown for received challenges only.